public class Main {
    public static void main(String[] args) {
        // LoanCalculator loanCalculator = new LoanCalculator(100, 360, 0.049);
        LoanCalculator loanCalculator = new LoanCalculator(250, 120, 0.052);
        loanCalculator.calculateAvgInterest();
        loanCalculator.calculateAvgCap();
    }
}